Accelerator Bulk Transfer Process API - Implementation Template
Setup guide
Please review the pre-requisite setup instructions for setting up SAP connector on MuleSoft.
Importing Templates into Anypoint Studio
- In Studio, click the Exchange X icon in the upper left of the taskbar.
- Log in with your Anypoint Platform credentials.
- Search for the template
- Click Open.
Running Templates in Anypoint Studio
After you import your template into Studio, follow these configuration steps to run it:
- Right-click the template project folder.
- Hover your mouse over 'Run as'.
- Click Mule Application (configure).
- Inside the dialog, select Environment and set the variable:
mule.envto the appropriate value (e.g., dev or local).mule.keyto the property encryption key that you used to encrypt your secure properties.
- Click Run.
HTTP Configuration
https.host— sets the service host interface. It should be configured inconfig-<mule.env>.yamlfile. (Defaults to 0.0.0.0 for all interfaces)https.port— sets the service port number. It should be configured inconfig-<mule.env>.yamlfile. (Default 8082)keystore.path— sets the path to the keystore. It should be configured inconfig-<mule.env>.yamlfile. (Default accelerator-keystore.jks)keystore.alias— sets the keystore alias. It should be configured inconfig-<mule.env>.yamlfile. (Default solutionsteam)keystore.keyPassword— sets the keystore keyPassword. It should be configured inconfig-<mule.env>.yamlfile. (Default mulesoft)keystore.password— sets the keystore password. It should be configured inconfig-<mule.env>.yamlfile. (Default mulesoft)amq.salesforce.bulk.requestQueueName- sets the request key to get Salesforce bulk requests. It should be configured inconfig-<mule.env>.yamlfile.amq.salesforce.bulk.responseQueueName- sets the request key to get Salesforce bulk responses. It should be configured inconfig-<mule.env>.yamlfile.amq.saphana.bulk.requestQueueName- sets the request key to get SAP S/4HANA bulk requests. It should be configured inconfig-<mule.env>.yamlfile.amq.saphana.bulk.responseQueueName- sets the request key to get SAP S/4HANA bulk responses. It should be configured inconfig-<mule.env>.yamlfile.schedulers.account.saphana2salesforce- sets scheduler details for account migration from saphana to salesforce. It should be configured inconfig-<mule.env>.yamlfile.schedulers.account.sapecc2salesforce- sets scheduler details for account migration from sap ecc to salesforce. It should be configured inconfig-<mule.env>.yamlfile.schedulers.product.saphana2salesforce- sets scheduler details for product migration from saphana to salesforce. It should be configured inconfig-<mule.env>.yamlfile.schedulers.product.sapecc2salesforce- sets scheduler details for product migration from saphana to salesforce. It should be configured inconfig-<mule.env>.yamlfile.schedulers.productAvailability.saphana2salesforce- sets scheduler details for product availability migration from saphana to salesforce. It should be configured inconfig-<mule.env>.yamlfile.schedulers.productAvailability.sapecc2salesforce- sets scheduler details for product availability migration from saphana to salesforce. It should be configured inconfig-<mule.env>.yamlfile.saphana.accounts.Host- sets host name for saphana accounts API. It should be configured inconfig-<mule.env>.yamlfile.saphana.accounts.Path- sets path to get accounts in bulk. It should be configured inconfig-<mule.env>.yamlfile.saphana.products.Host- sets host name for saphana products API. It should be configured inconfig-<mule.env>.yamlfile.saphana.products.Path- sets path to get products in bulk. It should be configured inconfig-<mule.env>.yamlfile.saphana.productAvailability.Host- sets host name for saphana product availability API. It should be configured inconfig-<mule.env>.yamlfile.saphana.productAvailability.Path- sets path for product availability. It should be configured inconfig-<mule.env>.yamlfile.sapecc.accounts.Host- sets host name for sapecc accounts API. It should be configured inconfig-<mule.env>.yamlfile.sapecc.accounts.Path- sets path to get accounts in bulk. It should be configured inconfig-<mule.env>.yamlfile.sapecc.accounts.accountStart- set starting account number. It should be configured inconfig-<mule.env>.yamlfile.sapecc.products.Host- sets host name for sapecc products API. It should be configured inconfig-<mule.env>.yamlfile.sapecc.products.Path- sets path to get products in bulk. It should be configured inconfig-<mule.env>.yamlfile.sapecc.products.productStart- set starting material number. It should be configured inconfig-<mule.env>.yamlfile.sapecc.productAvailability.Host- sets host name for sapecc product availability API. It should be configured inconfig-<mule.env>.yamlfile.sapecc.productAvailability.Path- set path for product availability. It should be configured inconfig-<mule.env>.yamlfile.
Testing it
- Use Advanced Rest Client or Postman to send a request over HTTP. The template includes a postman collection in the
src/test/resourcesfolder. - The environment file for the Postman collection is also included in the
src/test/resourcesfolder.